import { App } from 'vue'

import * as elIcons from '@element-plus/icons-vue'

// 全局注册el-icon
export default function (app: App): void {
  for (const icon in elIcons) {
    app.component(elIcons[icon].name, elIcons[icon])
  }
}
